﻿using System;
using System.Collections.Generic;
using System.Text;
using PhiStore.ObjectManaging;
using PhiStore.Policies;

namespace PhiStore.Actions
{
    [Serializable]
    internal class NegotiationCommit: PhiPackage
    {
        public string Key;
        public long Count;
        public Policy Policy;

        public NegotiationCommit(string key, Policy policy, long count)
        {
            this.Key = key;
            this.Policy = policy;
            this.Count = count;
        }

        public override string ToString()
        {
            return base.ToString() + " " + Key;
        }
    }
}
